// import Immutable from 'immutable';

import {
  LOGIN,
  LOGOUT
} from '../constants/actionType'

const initialState = {
  isLoggedIn: false
}

export default (state = initialState, action) => {
  let newState = state
  switch (action.type) {
    case LOGIN:
      console.log('==LOGIN==auth=', action)
      return newState
    case LOGOUT:
      console.log('==LOGOUT==auth=', action)
      return newState
    default :
      return state
  }
}
